package com.quktzhuanka.app.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.quktzhuanka.app.R;
import com.quktzhuanka.app.bean.ShopTabsChildBean;

import java.util.List;

public class IndexCatAdapter extends BaseQuickAdapter<ShopTabsChildBean,BaseViewHolder> {
    public IndexCatAdapter(int layoutResId, @Nullable List<ShopTabsChildBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ShopTabsChildBean item) {
        helper.setText(R.id.txt_name,item.getName());
    }
}
